<?php

namespace Asiah\SiklusBundle\Tests\Model;

use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
use Asiah\SiklusBundle\Model\LinkLogic;

class LinkLogicTest extends WebTestCase {
	public function testIndex() {
		$logic = new LinkLogic();
		$retval = array('cbbbbY',5);
		for($i = 0; $i < 15; $i++) {
			$retval = $logic -> generateLink($retval[0],$retval[1]);
			echo $retval[0]. ", ";
		}
		$this -> assertEquals('dddee22', $retval[0]);
	}
}
